<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<%@ include file="/common/taglibs.jsp" %>
<%-- Put constants into request scope --%>
<appfuse:constants scope="request"/>
<!-- 头部 -->

<div class="home-header">
    <div class="home-text fl">
        <a href="${ctx}/"><img src="${dll}/manage/img/logo512.png">百本木家</a>
    </div>

    <div class="home-nav">
        <%--<a href="${ctx}/" pr="manage">管理中心</a>--%>
        <a href="${ctx}/productOrderSummary/" pr="financial">财务管理</a>
        <a href="${ctx}/blog/" pr="operation">运营中心</a>
        <%--<a href="${ctx}/" pr="system">系统管理</a>--%>
    </div>

    <%--<c:if test="${pageContext.request.remoteUser!= null}">--%>
    <%--<div class="user-info">--%>
    <%--<div class="dropdown profile-element">--%>
    <%--<div class="dropdown profile-element"> <span>--%>
    <%--<img alt="image" class="img-circle" src="${authentication.photo}!icon.jpg">--%>
    <%--</span>--%>
    <%--<a data-toggle="dropdown" class="dropdown-toggle" href="#" aria-expanded="false">--%>
    <%--<span class="clear">  <span class="text-muted text-xs block">${authentication.nickname} <b--%>
    <%--class="caret"></b></span> </span> </a>--%>
    <%--<ul class="dropdown-menu animated fadeInRight m-t-xs">--%>
    <%--<li><a href="${ctx}/user/view">个人资料</a></li>--%>
    <%--<li><a href="${ctx}/user/password">修改密码</a></li>--%>
    <%--<li class="divider"></li>--%>
    <%--<li><a href="${ctx}/user/logout">退出</a></li>--%>
    <%--</ul>--%>
    <%--</div>--%>
    <%--</div>--%>
    <%--</div>--%>
    <%--</c:if>--%>
    <ul class="nav navbar-top-links navbar-right">
        <li>
            <span class="m-r-sm text-muted welcome-message">Welcome to INSPINIA+ Admin Theme.</span>
        </li>

        <li class="dropdown">
            <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                <i class="fa fa-envelope"></i> <span class="label label-warning">16</span>
            </a>
            <ul class="dropdown-menu dropdown-messages">
                <li>
                    <div class="dropdown-messages-box">
                        <a href="profile.html" class="pull-left">
                            <img alt="image" class="img-circle" src="img/a7.jpg">
                        </a>
                        <div class="media-body">
                            <small class="pull-right">46h ago</small>
                            <strong>Mike Loreipsum</strong> started following <strong>Monica Smith</strong>. <br>
                            <small class="text-muted">3 days ago at 7:58 pm - 10.06.2014</small>
                        </div>
                    </div>
                </li>
                <li class="divider"></li>
                <li>
                    <div class="dropdown-messages-box">
                        <a href="profile.html" class="pull-left">
                            <img alt="image" class="img-circle" src="img/a4.jpg">
                        </a>
                        <div class="media-body ">
                            <small class="pull-right text-navy">5h ago</small>
                            <strong>Chris Johnatan Overtunk</strong> started following <strong>Monica Smith</strong>.
                            <br>
                            <small class="text-muted">Yesterday 1:21 pm - 11.06.2014</small>
                        </div>
                    </div>
                </li>
                <li class="divider"></li>
                <li>
                    <div class="dropdown-messages-box">
                        <a href="profile.html" class="pull-left">
                            <img alt="image" class="img-circle" src="img/profile.jpg">
                        </a>
                        <div class="media-body ">
                            <small class="pull-right">23h ago</small>
                            <strong>Monica Smith</strong> love <strong>Kim Smith</strong>. <br>
                            <small class="text-muted">2 days ago at 2:30 am - 11.06.2014</small>
                        </div>
                    </div>
                </li>
                <li class="divider"></li>
                <li>
                    <div class="text-center link-block">
                        <a href="mailbox.html">
                            <i class="fa fa-envelope"></i> <strong>Read All Messages</strong>
                        </a>
                    </div>
                </li>
            </ul>
        </li>
        <li class="dropdown">
            <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                <i class="fa fa-bell"></i> <span class="label label-primary">8</span>
            </a>
            <ul class="dropdown-menu dropdown-alerts">
                <li>
                    <a href="mailbox.html">
                        <div>
                            <i class="fa fa-envelope fa-fw"></i> You have 16 messages
                            <span class="pull-right text-muted small">4 minutes ago</span>
                        </div>
                    </a>
                </li>
                <li class="divider"></li>
                <li>
                    <a href="profile.html">
                        <div>
                            <i class="fa fa-twitter fa-fw"></i> 3 New Followers
                            <span class="pull-right text-muted small">12 minutes ago</span>
                        </div>
                    </a>
                </li>
                <li class="divider"></li>
                <li>
                    <a href="grid_options.html">
                        <div>
                            <i class="fa fa-upload fa-fw"></i> Server Rebooted
                            <span class="pull-right text-muted small">4 minutes ago</span>
                        </div>
                    </a>
                </li>
                <li class="divider"></li>
                <li>
                    <div class="text-center link-block">
                        <a href="notifications.html">
                            <strong>See All Alerts</strong>
                            <i class="fa fa-angle-right"></i>
                        </a>
                    </div>
                </li>
            </ul>
        </li>


        <li class="dropdown profile-element">
            <c:if test="${pageContext.request.remoteUser!= null}">

                <div class="dropdown profile-element"><span> </span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#" aria-expanded="false">
                        <span class="clear"> <span class="text-muted text-xs block"> <img alt="image" class="img-circle"
                                                                                          src="${authentication.photo}!icon.jpg">${authentication.nickname} <b
                                class="caret"></b></span> </span> </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <li><a href="${ctx}/user/view">个人资料</a></li>
                        <li><a href="${ctx}/user/password">修改密码</a></li>
                        <li class="divider"></li>
                        <li><a href="${ctx}/user/logout">退出</a></li>
                    </ul>
                </div>
            </c:if>
        </li>

    </ul>

    <c:if test="${pageContext.request.remoteUser== null}">
        <span class="clear"> <a class="user_sel" href="${ctx}/user/logout" style="color:red;">
            <i class="iconfont icon-tuichu"></i>
            <span class="user_exit">退出登录</span>
        </a>
            </span>
    </c:if>
</div>